package com.ndp.fb.fbagent.service;

import com.ndp.fb.model.fbagent.param.product.FbFeedParam;
import com.ndp.fb.model.fbagent.result.productfeed.FBProductFeed;

import java.util.List;

/**
 * Created by Elvis on 2016/4/14.
 */

public interface ProductFeedFBService {

    /**
     * 从facebook上拉取feed信息
     */
    void fetchFeed(FbFeedParam param);

    List<FBProductFeed> fetchByCatalogSync(FbFeedParam param);
    //去fb创建feed
    void sendToFB(FbFeedParam param);

    //feed立即抓取 不可用 kill掉
    void fetchNowFeed(FbFeedParam param);

    /**
     * 更新feed
     * @param param
     */
    void updateFeed(FbFeedParam param);


    void drop(FbFeedParam param);

}
